From 7c03500caa3c594a1aa284e9d533761f47ecc6bc Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 25 Sep 2024 13:59:21 -0700 Subject: move nwc string --- .../(app)/[username]/(profile)/+layout.svelte | 31 ---------------------- 1 file changed, 31 deletions(-) (limited to 'src/routes/(app)/[username]') diff --git a/src/routes/(app)/[username]/(profile)/+layout.svelte b/src/routes/(app)/[username]/(profile)/+layout.svelte index cd6a44a7..c6dc6569 100644 --- a/src/routes/(app)/[username]/(profile)/+layout.svelte +++ b/src/routes/(app)/[username]/(profile)/+layout.svelte @@ -6,10 +6,6 @@ import { sign, send } from "$lib/nostr"; import { bech32m } from "@scure/base"; import { page } from "$app/stores"; - import { - PUBLIC_COINOS_PUBKEY as pk, - PUBLIC_COINOS_RELAY as relay, - } from "$env/static/public"; export let data; @@ -27,12 +23,6 @@ $: lnaddr = `${stripped}@${$page.url.host}`; $: profile = `${$page.url.host}/${stripped}`; - $: nwc = - user && - `nostr+walletconnect://${pk}?relay=${encodeURIComponent(relay)}&secret=${ - user.nwc - }`; - let follow = async () => { user.follows.push(["p", subject.pubkey, "wss://nostr.coinos.io", stripped]); update(); @@ -174,27 +164,6 @@ - {#if user.id === subject.id} -
-
{$t("user.nwc")}
-
-
- {nwc} -
-
- - - - -
-
-
- {/if} {/if} -- cgit v1.2.3